import request from '@/utils/request'
//租赁对账记录列表
export function getStatementListApi(query){
  return request({
    url:'/module/accountStatement/list',
    method:"GET",
    params:query
  })
}
//获取租赁对账详情
export function getStatementInfoApi(id) {
  return request({
    url:'/module/accountStatement/'+id,
    method:"get",

  })
}
//新增租赁对账订单
export  function addStatementApi(data){
  return request({
    url:'/module/accountStatement',
    method:'POST',
    data,
  })
}
//修改租赁对账订单
export function  editStatementApi(data){
  return request({
    url:'/module/accountStatement',
    method:'put',
    data,
  })
}
//删除租赁对账订单
export function delStatementApi(id){
  return request({
    url:'/module/accountStatement/'+id,
    method:'DELETE'
  })
}
//获取机器费用
export function getMachineListExpenseApi(query){
  return request({
    url:'/module/accountStatement/machineList',
    method:'GET',
    params:query
  })
}
